package com.skyline.energy.dataaccess.jdbc;

import javax.sql.DataSource;

import com.skyline.energy.transaction.TransactionContext;
import com.skyline.energy.transaction.TransactionManager;

public class JdbcTransactionContext extends TransactionContext {
	public JdbcTransactionContext(TransactionManager manager) {
		super(manager);
	}

	private DataSource txDataSource;
	private ConnectionHolder connectionHolder;

	public void setConnectionHolder(ConnectionHolder connectionHolder) {
		this.connectionHolder = connectionHolder;
	}
	
	public ConnectionHolder getConnectionHolder() {
		return connectionHolder;
	}

	public DataSource getTxDataSource() {
		return txDataSource;
	}

	public void setTxDataSource(DataSource txDataSource) {
		this.txDataSource = txDataSource;
	}

}
